#include "mymath.h"

int addToVal(int from,int to)
{
    assert(from<=to);
    int result = 0;
    for(from;from<=to;++from)
    {
        result+=from;
    }
    return result;
}